package com.taobao.base.model;


import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserInfo {

    private String[] aud;
    private String user_name;
    private String[] scope;
    private boolean active;
    private int exp;
    private String[] authorities;
    private String jti;
    private String client_id;

    @Data
    public static class User{
        LocalDateTime createTime;
        String id;
        String name;
        String nickname;
        String[] permissions;
        String sex;
        String status;
        String username;
        String userpic;
        String utype;
    }
}
